
from cycdm.spider.news_data_storage import save_news_list
from cycdm.spider.news_spider import get_history_news_data

'''
新闻应用入口
'''

def application():
    url = "http://cs.lsqn.cn/";
    title_list, content_list = get_history_news_data(url);
    save_news_list(title_list, content_list);

if __name__ == '__main__':
    application();